/********************************************************************
 
 Copyright (C), 2012年 dhc. All rights reserved.
 
 Filename: 	    MailListCell.h 
 
 Author:        muzongcun
 
 Version:       1.0
 
 Description:   MailListCell
 
 History:
 
 muzongcun    2012/3/10     1.0     Create
 
 *********************************************************************/
#import <UIKit/UIKit.h>
@class MailList;
@interface MailListCell : UITableViewCell
{
@public
    BOOL        isChecked;          //checkbox 是否选中
    BOOL        isImportantFlag;    //是否是重要邮件
    MailList*   _mailList;
}
@property (nonatomic,assign) BOOL                   isChecked;
@property (nonatomic,assign) BOOL                   isImportantFlag;
@property (nonatomic, retain) IBOutlet UILabel*     mailaddress;    //地址
@property (nonatomic, retain) IBOutlet UILabel*     mailtime;       //时间
@property (nonatomic, retain) IBOutlet UILabel*     mailsubject;    //标题
@property (nonatomic, retain) IBOutlet UILabel*     mailContent;    //邮件正文
@property (nonatomic, retain) IBOutlet UIImageView* mailAttachImage;//是否有附件
@property (nonatomic, retain) IBOutlet UIButton*    mailCheckBox;
@property (nonatomic, retain) IBOutlet MailList*    _mailList;
@property (nonatomic, retain) IBOutlet UIButton*    mailImportantFlag; //mail 重要性标志

- (IBAction) checkBoxClicked;
- (IBAction) mailImportantFlagClicked;
- (void)     setMailListObject:(MailList*) mailList;
- (BOOL)     isHaveImportantFlag:(NSString*)tag;

@end
